package com.designpatterns.cor.concretehandler;

import com.designpatterns.cor.handler.RequestHandle;
import com.designpatterns.cor.request.Request;
import com.designpatterns.cor.request.impl.DimissionRequest;

/**
 * HRRequestHandler Implements RequestHandle
 * @see RequestHandle
 *
 * @author Haiqi.Wang
 * @since 2013-6-9上午11:54:12
 */
public class HRRequestHandler implements RequestHandle {

	@Override
	public void handleRequest(Request request) {
		if (request instanceof DimissionRequest) {
			System.out.println("要离职，人事审批！");
		}
		System.out.println("请求完毕");
	}

}
